﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="BouncingPlane.Introduction"
	d:DesignWidth="640" d:DesignHeight="480">
    <UserControl.Resources>
        <Storyboard x:Name="IntroTxt1SB">
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Txt1" Storyboard.TargetProperty="(UIElement.Opacity)">
                <EasingDoubleKeyFrame KeyTime="00:00:08" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="00:00:12" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Txt1" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)">
                <EasingDoubleKeyFrame KeyTime="00:00:08" Value="2"/>
                <EasingDoubleKeyFrame KeyTime="00:00:12" Value="20"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Text2" Storyboard.TargetProperty="(UIElement.Opacity)">
                <EasingDoubleKeyFrame KeyTime="00:00:08" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="00:00:12" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="00:00:20" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="00:00:24" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Text2" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)">
                <EasingDoubleKeyFrame KeyTime="00:00:08" Value="20"/>
                <EasingDoubleKeyFrame KeyTime="00:00:12" Value="2"/>
                <EasingDoubleKeyFrame KeyTime="00:00:20" Value="2"/>
                <EasingDoubleKeyFrame KeyTime="00:00:24" Value="20"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Txt3" Storyboard.TargetProperty="(UIElement.Opacity)">
                <EasingDoubleKeyFrame KeyTime="00:00:20" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="00:00:24" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="00:00:28" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Txt3" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)">
                <EasingDoubleKeyFrame KeyTime="00:00:20" Value="20"/>
                <EasingDoubleKeyFrame KeyTime="00:00:24" Value="2"/>
                <EasingDoubleKeyFrame KeyTime="00:00:28" Value="20"/>
            </DoubleAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FormulaireIntro" Storyboard.TargetProperty="(UIElement.Visibility)">
                <DiscreteObjectKeyFrame KeyTime="00:00:28">
                    <DiscreteObjectKeyFrame.Value>
                        <Visibility>Visible</Visibility>
                    </DiscreteObjectKeyFrame.Value>
                </DiscreteObjectKeyFrame>
            </ObjectAnimationUsingKeyFrames>
        </Storyboard>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Margin="0,0,0,-65">
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="SkipGroupState">
                <VisualState x:Name="OutSkip"/>
                <VisualState x:Name="OverSkip">
                    <Storyboard>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Opacity)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="-2"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                        </DoubleAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                            <EasingColorKeyFrame KeyTime="00:00:00" Value="White"/>
                        </ColorAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
        <TextBlock x:Name="Txt1" Margin="20,15,12,74" FontSize="18.667" Foreground="White" Text="La Tunisie (arabe), officiellement la République tunisienne, est un pays d’Afrique du Nord appartenant au Maghreb. Elle est bordée au nord et à l’est par la mer Méditerranée. Sa frontière ouest s’ouvre sur l’Algérie (965 kilomètres) et sa frontière sud-est sur la Libye (459 kilomètres). Sa capitale Tunis est située dans le nord-est du pays." TextWrapping="Wrap" d:IsHidden="True">
    		<TextBlock.Effect>
    			<BlurEffect Radius="2"/>
    		</TextBlock.Effect>
        </TextBlock>
        <TextBlock x:Name="Text2" Margin="20,15,12,74" FontSize="18.667" Foreground="White" Text="Près de 40 % de la superficie du territoire est occupée par le désert du Sahara, le reste étant constitué de terres fertiles, berceau de la civilisation carthaginoise qui atteignit son apogée au IIIe siècle av. J.-C., avant de devenir le « grenier à blé » de l’Empire romain." TextWrapping="Wrap" Opacity="0" d:IsHidden="True">
    		<TextBlock.Effect>
    			<BlurEffect Radius="20"/>
    		</TextBlock.Effect>
        </TextBlock>
        <TextBlock x:Name="Txt3" Margin="20,15,12,74" FontSize="18.667" Foreground="White" Text="La Tunisie (arabe), officiellement la République tunisienne, est un pays d’Afrique du Nord appartenant au Maghreb. Elle est bordée au nord et à l’est par la mer Méditerranée. Sa frontière ouest s’ouvre sur l’Algérie (965 kilomètres) et sa frontière sud-est sur la Libye (459 kilomètres). Sa capitale Tunis est située dans le nord-est du pays." TextWrapping="Wrap" Opacity="0" d:IsHidden="True">
    		<TextBlock.Effect>
    			<BlurEffect Radius="20"/>
    		</TextBlock.Effect>
        </TextBlock>
        <TextBlock x:Name="SkipTxt" Height="21" HorizontalAlignment="Right" Margin="0,0,37,49" VerticalAlignment="Bottom" Width="47" Text="Skip" TextWrapping="Wrap" Foreground="White" TextAlignment="Right" MouseEnter="MouseOverSkip" MouseLeave="MouseOutSkip" d:IsHidden="True"/>
        <Path x:Name="path" Fill="White" Stroke="Black" Height="1" HorizontalAlignment="Right" Margin="0,0,37.448,52" VerticalAlignment="Bottom" Width="22.552" Opacity="0" UseLayoutRounding="False" Data="M0,0 L21.552261,0" RenderTransformOrigin="0.5,0.5" d:IsHidden="True">
            <Path.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Path.RenderTransform>
        </Path>
        <Canvas x:Name="FormulaireIntro" Margin="54,44,12,0" Visibility="Collapsed" Height="120" VerticalAlignment="Top">
            <Border Height="117" Width="333" Opacity="0.2" Background="Black" BorderBrush="White" BorderThickness="1" CornerRadius="5" Canvas.Top="2"/>
            <TextBlock x:Name="NameTxt" Height="21" Width="66" Canvas.Left="49" Canvas.Top="23" Foreground="White" TextWrapping="Wrap"><Run Text="Votre Nom"/><LineBreak/><Run Text=""/></TextBlock>
            <TextBlock x:Name="InteretsName" Height="21" Width="66" Foreground="White" Text="Interets" TextWrapping="Wrap" Canvas.Left="49" Canvas.Top="61"/>
            <TextBox x:Name="NameTxtBox" Height="30" Width="188" Canvas.Left="126" Canvas.Top="14" TextWrapping="Wrap"/>
            <ComboBox x:Name="InteretsCB" Width="188" Canvas.Left="126" Canvas.Top="55" Height="26">
                <ComboBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <CheckBox IsChecked="{Binding Active}"/>
                            <TextBlock Text="{Binding Title}"/>
                        </StackPanel>
                    </DataTemplate>
                </ComboBox.ItemTemplate>
            </ComboBox>
            <Button x:Name="ValiderFormBtn" Width="75" Content="Valider" Canvas.Left="239" Canvas.Top="91"/>
        </Canvas>
    </Grid>

</UserControl>